package com.topisv.tms.rest.qimen.qmentity.request.allcancel;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

import org.hibernate.validator.constraints.NotBlank;

@XmlRootElement(name = "request")
@XmlAccessorType(XmlAccessType.FIELD)
public class AllCancel {
	
    @NotBlank
	@XmlElement(name = "warehouseCode")
	private String warehouseCode;//仓库编码	string(50)
	
	@XmlElement(name = "ownerCode")
	private String ownerCode;//货主编码	string(50)
	
	@NotBlank
	@XmlElement(name = "orderCode")
	private String orderCode;//单据编码	string(50)
	@XmlElement(name = "orderId")
	private String orderId;//后端单据编码	string(50)

	@NotBlank
	@XmlElement(name = "orderType")
	private String orderType;//单据类型, 201 一般交易出库单 202  B2B交易出库单 502  换货出库 503 补发出库 901 退供出库 301 调拨出库 603 B2B出库 505 领用出库 903 其他出库 601  采购入库 302 调拨入库 602 B2B入库 504 归还入库 902 其他入库 501 销退入库 504 换货入库 1102 仓内加工单 701 盘点出库（盘亏） 702 盘点入库（盘盈）

	@XmlElement(name = "cancelReason")
	private String cancelReason;//取消原因	string(500)

	public String getOrderCode() {
		return orderCode;
	}

	public void setOrderCode(String orderCode) {
		this.orderCode = orderCode;
	}

	public String getWarehouseCode() {
		return warehouseCode;
	}

	public void setWarehouseCode(String warehouseCode) {
		this.warehouseCode = warehouseCode;
	}

	public String getOwnerCode() {
		return ownerCode;
	}

	public void setOwnerCode(String ownerCode) {
		this.ownerCode = ownerCode;
	}

	public String getOrderId() {
		return orderId;
	}

	public void setOrderId(String orderId) {
		this.orderId = orderId;
	}

	public String getOrderType() {
		return orderType;
	}

	public void setOrderType(String orderType) {
		this.orderType = orderType;
	}

	public String getCancelReason() {
		return cancelReason;
	}

	public void setCancelReason(String cancelReason) {
		this.cancelReason = cancelReason;
	}

	
}
